package cn.com.dycc.party_work.education_log.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import cn.com.dycc.party_work.education_log.entity.EducationLog;
import cn.com.dycc.party_work.education_log.entity.EducationLogInfo;
import cn.com.dycc.party_work.education_log.param.EducationLogParam;

/**
 * 
 * Description: 
 * Author: Liket
 * Version: 1.0
 * Create Date Time: 2018年7月4日 上午11:33:24.
 * Update Date Time: 
 * @see
 */
@Repository("educationLogDao")
public interface EducationLogDao {
	int addEduLog(EducationLog log);
	
	EducationLog findEduLog(
			@Param("log_id")String log_id,
			@Param("org_id")String org_id);
	
	EducationLog findEduLogById(@Param("education_id") String education_id,@Param("user_id")String user_id);
	
	
	//分页查询查询，查询单条信息
	List<EducationLogInfo> findEduLogByParam(EducationLogParam param);	
	String findEduLogCount(EducationLogParam param);
	
	int deleteEduLog(
			@Param("org_id")String org_id,
			@Param("list")List<String> list);
}
